package rubik.fitness;

import rubik.Cube;

public class CornersFitness implements IFitnessFunc {

	@Override
	public double getFitness(Cube cube) {
		return cube.countCorrectCorners();
	}

	@Override
	public double getMaxFitness() {
		return 8;
	}

}
